百度云下载加速工具 Aria2
- 在 https://github.com/aria2/aria2/releases 下载安装 aria2.
在 ~/.aria2/aria.conf 中添加配置:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45Basic Options
dir=/Users/XXX/Downloads # replace XXX to username
input-file=/Applications/aria2c/session.dat
log=/Applications/aria2c/aria2.log
max-concurrent-downloads=15
max-connection-per-server=15
check-integrity=true
continue=true
BitTorrent/Metalink Options
bt-enable-lpd=true
bt-max-open-files=16
bt-max-peers=8
dht-file-path=/opt/var/aria2/dht.dat
dht-file-path6=/opt/var/aria2/dht6.dat
dht-listen-port=6801
enable-dht6=true
listen-port=6801
max-overall-upload-limit=0K
seed-ratio=0
RPC Options
enable-rpc=true
rpc-allow-origin-all=true
rpc-listen-all=true
rpc-listen-port=6800
rpc-secret=123456
rpc-secure=true
Advanced Options
daemon=true
disable-ipv6=true
enable-mmap=true
force-save=true
file-allocation=none
log-level=warn
max-overall-download-limit=0K
save-session=/Applications/aria2c/session.dat
always-resume=true
split=10
min-split-size=10M
百度盘
user-agent=netdisk;5.2.6;PC;PC-Windows;6.2.9200;WindowsBaiduYunGuanJia
referer=http://pan.baidu.com/disk/home执行以下命令:
1
2
3mkdir /Applications/aria2c
touch /Applications/aria2c/session.dat
touch /Applications/aria2c/aria2.log
- 执行 /usr/local/aria2c/bin/aria2c(完整的启动命令是:
aria2c --conf-path="~/.aria2/aria2.conf" -D
), 用ps aux|grep aria2c
确认 aria2c 启动成功。 安装 BaiduExpoter.crx Chrome 插件:https://github.com/acgotaku/BaiduExporter/releases
安装插件之后,百度云网页上会出现“导出下载”按钮,如下图所示。点击 ARIA2 RPC,aria2 就可以在后台开始下载了。
在 https://ziahamza.github.io/webui-aria2/ 中添加如图所示的设置,可以监控下载进度。